package com.huayanginfo.saas.domain;

import java.sql.Timestamp;
import java.util.LinkedHashSet;
import java.util.Set;

import com.huayanginfo.saas.domain.member.User;
import com.huayanginfo.saas.domain.share.Share;

public class Document extends Share implements java.io.Serializable{

	private static final long serialVersionUID = 7405264922156799463L;


	private Integer id;
	private User creator;
	private String fileName;
	private String filePath;
	private String tag;
	private Timestamp createTimestamp;
	private Set<DocumentComment> comments = new LinkedHashSet<DocumentComment>(0);
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public User getCreator() {
		return creator;
	}
	public void setCreator(User creator) {
		this.creator = creator;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getFilePath() {
		return filePath;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	public String getTag() {
		return tag;
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
	public Timestamp getCreateTimestamp() {
		return createTimestamp;
	}
	public void setCreateTimestamp(Timestamp createTimestamp) {
		this.createTimestamp = createTimestamp;
	}
	public Set<DocumentComment> getComments() {
		return comments;
	}
	public void setComments(Set<DocumentComment> comments) {
		this.comments = comments;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
}
